<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Z平台</title>
<%@include file="/views/common/common.jsp"%>
<script type="text/javascript">
//初始化方法
$(document).ready(function() {
});
</script>
<style type="text/css">

</style>
</head>
<body class="easyui-layout">
<div data-options="region:'north',border:false,height:42"  >
	<div class="row" style="padding: 5px;margin:0px;">
		<div class="col-md-6">
			<div class="input-group">
				<input id="Z5QueryParametersInput" value="" type="text" class="form-control form-control-sm" placeholder="查询条件" onkeydown="Z5QueryOnkeydown();" />
				<span class="input-group-btn">
					<button class="btn btn-light" onclick="Z5Query()" type="button"><i class="fa fa-search"> 查询</i></button>
				</span>
			</div>
		</div>
		<div class="col-md-2">
		</div>
		<div class="col-md-2">
			<button id="select_button" type="button" class="btn btn-danger btn-sm btn-block" onclick="getReturnValue();"><i class="fa fa-get-pocket"></i> 选中</button>
		</div>
		<div class="col-md-2">
		</div>
	</div>
</div>
<form id="select_form" action="Z5list" >
<input type="hidden" id="query_terms_id" name="query_terms" value='null' />
<input type="hidden" id="ComparisonColumnIdsJsonId" value='{"user_head":{"arrangement_direction":"0","column_default_type":"","column_help":"负责人","column_id":"user_head","column_name":"负责人","column_size":"3","column_type":"8","colunm_length_list":"150","compare":"0","create_time":"2019-01-31 17:52:48.0","is_hidden":"0","is_null":"0","is_readonly":"0","ishr":"0","mode_type":"javascript","pid":"dd4edd42f5404878962bcfaf25f2978e","seq":"306","textarea_height":"0","update_time":"2019-08-14 22:09:53.0","z5_key":"zid","z5_table":"z_user","z5_value":"user_name","zid":"2b6660602cd04844a97f8ffdf6e9b4bd","zversion":"0"},"org_id":{"arrangement_direction":"0","column_default_type":"","column_help":"组织编号","column_id":"org_id","column_name":"组织编号","column_size":"3","column_type":"0","colunm_length_list":"150","compare":"0","create_time":"2019-01-31 17:52:48.0","is_hidden":"0","is_null":"0","is_readonly":"0","ishr":"0","mode_type":"javascript","pid":"dd4edd42f5404878962bcfaf25f2978e","seq":"302","textarea_height":"0","update_time":"2019-08-14 22:09:53.0","zid":"dd8cc17209c841bd9245ac45743ba007","zversion":"0"},"org_type":{"arrangement_direction":"0","column_default_type":"","column_help":"组织类型","column_id":"org_type","column_name":"组织类型","column_size":"3","column_type":"7","colunm_length_list":"150","compare":"0","create_time":"2019-01-31 17:52:48.0","is_hidden":"0","is_readonly":"0","ishr":"0","mode_type":"javascript","p_code_id":"org_type","pid":"dd4edd42f5404878962bcfaf25f2978e","seq":"301","textarea_height":"0","update_time":"2019-08-14 22:09:53.0","zid":"4ff0471d662d483b83cbe115c14cc3ee","zversion":"0"},"org_name":{"arrangement_direction":"0","column_default_type":"","column_help":"组织名称","column_id":"org_name","column_name":"组织名称","column_size":"3","column_type":"0","colunm_length_list":"150","compare":"1","create_time":"2019-01-31 17:52:48.0","is_hidden":"0","is_readonly":"0","ishr":"0","mode_type":"javascript","pid":"dd4edd42f5404878962bcfaf25f2978e","seq":"303","textarea_height":"0","update_time":"2019-08-14 22:09:53.0","zid":"608067c3c1b0494fba3d7c9f2ec123c8","zversion":"0"},"area_id":{"arrangement_direction":"0","column_default":"","column_default_type":"","column_help":"所属地区","column_id":"area_id","column_length_db":"","column_name":"所属地区","column_size":"3","column_type":"8","colunm_length_list":"150","compare":"0","create_time":"2019-01-31 17:52:48.0","is_hidden":"0","is_readonly":"0","ishr":"0","mode_type":"javascript","p_code_id":"","pid":"dd4edd42f5404878962bcfaf25f2978e","seq":"307","textarea_height":"0","tr_href":"","update_time":"2019-10-16 17:48:59.0","update_user":"null","z5_key":"area_id","z5_table":"z_area","z5_value":"area_name","z5_value2":"zipcode","zid":"62e99367dbaf46298d39699aabfb288f","zversion":"0"},"full_org_name":{"arrangement_direction":"0","column_default":"","column_default_type":"","column_help":"完整组织名称","column_id":"full_org_name","column_length_db":"","column_name":"完整组织名称","column_size":"6","column_type":"0","colunm_length_list":"400","compare":"1","create_time":"2019-01-31 17:52:48.0","is_hidden":"0","is_readonly":"1","ishr":"0","mode_type":"javascript","p_code_id":"","pid":"dd4edd42f5404878962bcfaf25f2978e","seq":"305","textarea_height":"0","update_time":"2019-08-14 22:09:53.0","update_user":"sa","z5_key":"","z5_table":"","z5_value":"","zid":"2c16e05bede9467abf9ccfc6013fee23","zversion":"0"},"parentid":{"arrangement_direction":"0","column_default":"","column_default_type":"","column_help":"上级组织","column_id":"parentid","column_length_db":"","column_name":"上级组织","column_size":"3","column_type":"8","colunm_length_list":"400","compare":"0","create_time":"2019-01-31 17:52:48.0","is_hidden":"0","is_null":"0","is_readonly":"0","ishr":"0","mode_type":"javascript","p_code_id":"","pid":"dd4edd42f5404878962bcfaf25f2978e","seq":"304","textarea_height":"0","update_time":"2019-08-14 22:09:53.0","update_user":"sa","z5_key":"zid","z5_table":"z_org","z5_value":"full_org_name","zid":"247eb7de7c91466daff1ef586106bb1c","zversion":"0"}}' />
<input type="hidden" id="ComparisonColumnIdsId" value='org_type☆组织类型,org_id☆组织编号,org_name☆组织名称,parentid☆上级组织,full_org_name☆完整组织名称,user_head☆负责人,area_id☆所属地区' />
<input type="hidden" id="pagenum_id" name="pagenum" value="1" />
<input type="hidden" id="rowcount_id" name="rowcount" value="30" />
<input type="hidden" id="tableId_id" name="tableId" value="z_org" />
<input type="hidden" id="TableColunmId" name="TableColunmId" value="z_org_parentid" />
<input type="hidden" id="ReturnKeyColumnId" name="ReturnKeyColumnId" value="parentid_id" />
<input type="hidden" id="ReturnValueColumnId" name="ReturnValueColumnId" value="parentid_display" />
<input type="hidden" id="Z5QueryParameters" name="Z5QueryParameters" value="null" />
<input type="hidden" id="PageType" name="PageType" value="Z5list" />
<input type="hidden" id="zid_id" name="zid" value="null" />
<input type="hidden" id="orderby_id" name="orderby" value="null" />
<input type="hidden" id="orderby_pattern_id" name="orderby_pattern" value="null" />
<input type="hidden" id="list_dblclick_id" name="list_dblclick" value="0" />
</form>
 <div id="select_windows" class="easyui-window" title="查询条件" style="width:900px;height:600px" data-options="iconCls:'fa fa-filter',closed:true,modal:true,shadow:false,minimizable:false,collapsible:false"> 
 <div class="easyui-layout" data-options="fit:true,border:false"> 
 <div data-options="region:'west',split:false" style="width:260px;"> 
 <table id="QueryInfoList" class="easyui-datagrid" data-options="singleSelect:true,onClickRow:SelectQueryInfoOnDblClickRow,fit:true,nowrap:false,border:false"> 
 <thead> 
 	<tr>
 		<th data-options="field:'zid',hidden:true">zid</th>
 		<th data-options="field:'name',width:258">常用查询条件</th>
 		<th data-options="field:'queryinfo',hidden:true">queryinfo</th>
 	</tr> 
 </thead> 
 <tbody> 
 </tbody> 
 </table> 
 </div> 
 <div data-options="region:'center',border:false" > 
 	<div data-options="region:'north',border:false"  >
 		<div class="easyui-panel" style="padding:2px;">
 			<a id="AddQueryRomButton" href="javascript:void(0);" class="easyui-linkbutton" onclick="AddQueryRom()" data-options="plain:true,iconCls:'fa fa-plus-circle'">增加行</a>
 			<a id="DeleteQueryTermsButton" href="javascript:void(0);" class="easyui-linkbutton" onclick="DeleteQueryInfo()" data-options="plain:true,iconCls:'fa fa-trash-o'">删除常用查询条件</a>
 			<a id="SaveQueryTermsButton" href="javascript:void(0);" class="easyui-linkbutton" onclick="SaveQueryTerms()" data-options="plain:true,iconCls:'fa fa-floppy-o'">保存查询条件</a>
 		</div>
 	</div>
 <table id="QueryTable"  class="table table-sm table-bordered"> 
 <thead> 
 	<tr>
 		<th width="30%">查询列</th>
 		<th width="15%">比较符</th>
 		<th width="35%">查询内容</th>
 		<th width="15%">条件连接</th>
 		<th width="5%"></th>
 	</tr> 
 </thead> 
 <tbody> 
 </tbody> 
 </table> 
 </div> 
 <div data-options="region:'south'" style="height:60px; text-align:center;padding-top: 10px"> 
 <button type="button" class="btn btn-light" onclick="form_clear()"><i class="fa fa-trash-o"></i> 清空</button>  
 <button type="button" class="btn btn-light" onclick="form_query(1)"><i class="fa fa-search"></i> 查询</button> 
 </div> 
 </div> 
 </div> 
<div data-options="region:'center',border:false">
<table id="MainTable" class="easyui-datagrid" data-options="fit:true,ctrlSelect:true,resizeEdge:20,nowrap:false,onDblClickCell:DblClickList">
<thead data-options="frozen:true">
<tr>
<th data-options="field:'zid',checkbox:true"></th>
</tr>
</thead>
<thead>
<tr>
<th  data-options="field:'org_type',width:150"><button type="button" onClick="SortList('org_type')" class="btn btn-sm btn-light btn-block">组织类型</button></th>
<th  data-options="field:'org_id',width:150"><button type="button" onClick="SortList('org_id')" class="btn btn-sm btn-light btn-block">组织编号</button></th>
<th  data-options="field:'org_name',width:150"><button type="button" onClick="SortList('org_name')" class="btn btn-sm btn-light btn-block">组织名称</button></th>
<th  data-options="field:'parentid',width:400"><button type="button" onClick="SortList('parentid')" class="btn btn-sm btn-light btn-block">上级组织</button></th>
<th  data-options="field:'full_org_name',width:400"><button type="button" onClick="SortList('full_org_name')" class="btn btn-sm btn-light btn-block">完整组织名称</button></th>
<th  data-options="field:'user_head',width:150"><button type="button" onClick="SortList('user_head')" class="btn btn-sm btn-light btn-block">负责人</button></th>
<th  data-options="field:'area_id',width:150"><button type="button" onClick="SortList('area_id')" class="btn btn-sm btn-light btn-block">所属地区</button></th>
</tr>
</thead>
<tbody>
<tr>
<td>f353cb7b5b1e43618e1f727e58e2ae5c</td>
<td>集团</td>
<td>0000</td>
<td>集团</td>
<td></td>
<td>集团</td>
<td>总经理</td>
<td>北京市|100000</td>
</tr>
<tr>
<td>701d43c3e3d94r9a812517z8b353oag45601576c3161623132605</td>
<td>部门</td>
<td>000001</td>
<td>技术部</td>
<td>集团</td>
<td>集团_技术部</td>
<td>技术副总</td>
<td>东城区|100000</td>
</tr>
<tr>
<td>8ea3558123edr46508e2z71ob3812517f9g2e14f6192522123005</td>
<td>部门</td>
<td>00000102</td>
<td>开发部</td>
<td>集团_技术部</td>
<td>集团_技术部_开发部</td>
<td>技术总监</td>
<td></td>
</tr>
<tr>
<td>78e7dcb7deg41or42af12517bfc4e9fzf336a072e231612131005</td>
<td>部门</td>
<td>0000010201</td>
<td>前端开发组</td>
<td>集团_技术部_开发部</td>
<td>集团_技术部_开发部_前端开发组</td>
<td></td>
<td></td>
</tr>
<tr>
<td>d6152ae57109g44d59r7zd421o1251707af5e1133182323171205</td>
<td>部门</td>
<td>0000010202</td>
<td>后端开发组</td>
<td>集团_技术部_开发部</td>
<td>集团_技术部_开发部_后端开发组</td>
<td>java工程师组长</td>
<td></td>
</tr>
<tr>
<td>192e076604rd24afoz1ab20c012517b9egb0085a6152315102905</td>
<td>部门</td>
<td>00000101</td>
<td>测试组</td>
<td>集团_技术部</td>
<td>集团_技术部_测试组</td>
<td></td>
<td></td>
</tr>
<tr>
<td>41277b16e926z431da12517d16r6ob8dfgc0089a7121823222905</td>
<td>部门</td>
<td>00000101A</td>
<td>测试A组</td>
<td>集团_技术部_测试组</td>
<td>集团_技术部_测试组_测试A组</td>
<td></td>
<td></td>
</tr>
<tr>
<td>293b8f37e63o1412517zde4a8r8f055310g0ddfb2131311213005</td>
<td>部门</td>
<td>00000101B</td>
<td>测试B组</td>
<td>集团_技术部_测试组</td>
<td>集团_技术部_测试组_测试B组</td>
<td></td>
<td></td>
</tr>
<tr>
<td>02c40c179511251764c71grb26b4ze761o9846a43211127171705</td>
<td>部门</td>
<td>000002</td>
<td>财务部</td>
<td>集团</td>
<td>集团_财务部</td>
<td>财务经理</td>
<td></td>
</tr>
<tr>
<td>36708a60edr044afaa586zg6d713a7eo1251783c3202929102205</td>
<td>部门</td>
<td>00000201</td>
<td>核算组</td>
<td>集团_财务部</td>
<td>集团_财务部_核算组</td>
<td></td>
<td></td>
</tr>
<tr>
<td>dbc18a4e4ba912517oz4578ab2a5546gae8r3fafa121213302705</td>
<td>部门</td>
<td>00000202</td>
<td>资金组</td>
<td>集团_财务部</td>
<td>集团_财务部_资金组</td>
<td></td>
<td></td>
</tr>
<tr>
<td>f8f4dffc8c84464rao81251784gd331b3cz302b78261716152205</td>
<td>部门</td>
<td>000003</td>
<td>人力资源部</td>
<td>集团</td>
<td>集团_人力资源部</td>
<td>人力资源总监</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div data-options="region:'south',border:false" style="height:40px;overflow:hidden">
<ul class="pagination ">
<li class="page-item disabled"><a class="page-link" href="#">&nbsp;<i class="fa fa-fast-backward"></i>&nbsp;</a></li>
<li class="page-item disabled"><a class="page-link" href="#">&nbsp;<i class="fa fa-backward"></i>&nbsp;</a></li>
<li class="page-item active"><a class="page-link" href="javascript:void(0);" onclick="form_query(1)"  >1</a></li> 
<li class="page-item disabled"><a class="page-link" href="#">&nbsp;<i class="fa fa-forward"></i>&nbsp;</a></li>
<li class="page-item disabled"><a class="page-link" href="#">&nbsp;<i class="fa fa-fast-forward"></i>&nbsp;</a></li>
<li class="page-item disabled"><a class="page-link" href="#">共1页/12条</a></li>
</ul>
</div>




<!-- 添加Echars -->
<script src="/z/js/echarts.min.js"></script>

</body>
</html>